package com.ruoyi.scsystem.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 查询统计对象 sys_department_stat
 * 
 * @author cai
 * @date 2022-09-19
 */
public class SysDepartmentStat extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自动编号 */
    private Integer id;

    /** 部门信息表 */
    @Excel(name = "部门信息表")
    private Integer deptId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String name;

    /** 上级部门ID */
    @Excel(name = "上级部门ID")
    private Integer parentId;

    /** 父级ID集 */
    @Excel(name = "父级ID集")
    private String ancestors;

    /** 部门领导 */
    @Excel(name = "部门领导")
    private Integer leadUserId;

    /** 总人数 */
    @Excel(name = "总人数")
    private Integer total;

    /** 优秀 */
    @Excel(name = "优秀")
    private Integer excelent;

    /** 良好 */
    @Excel(name = "良好")
    private Integer good;

    /** 中等 */
    @Excel(name = "中等")
    private Integer middle;

    /** 及格 */
    @Excel(name = "及格")
    private Integer standard;

    /** 不及格 */
    @Excel(name = "不及格")
    private Integer fail;

    /** 年级 */
    @Excel(name = "年级")
    private Integer year;

    /** 学院 */
    @Excel(name = "学院")
    private String college;

    /** 专业 */
    @Excel(name = "专业")
    private String speciality;

    /** 班级 */
    @Excel(name = "班级")
    private String aclass;

    /** 合格率 */
    @Excel(name = "合格率")
    private BigDecimal passpercent;

    /** 优秀率 */
    @Excel(name = "优秀率")
    private BigDecimal excelentpercent;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setDeptId(Integer deptId) 
    {
        this.deptId = deptId;
    }

    public Integer getDeptId() 
    {
        return deptId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setParentId(Integer parentId) 
    {
        this.parentId = parentId;
    }

    public Integer getParentId() 
    {
        return parentId;
    }
    public void setAncestors(String ancestors) 
    {
        this.ancestors = ancestors;
    }

    public String getAncestors() 
    {
        return ancestors;
    }
    public void setLeadUserId(Integer leadUserId) 
    {
        this.leadUserId = leadUserId;
    }

    public Integer getLeadUserId() 
    {
        return leadUserId;
    }
    public void setTotal(Integer total) 
    {
        this.total = total;
    }

    public Integer getTotal() 
    {
        return total;
    }
    public void setExcelent(Integer excelent) 
    {
        this.excelent = excelent;
    }

    public Integer getExcelent() 
    {
        return excelent;
    }
    public void setGood(Integer good) 
    {
        this.good = good;
    }

    public Integer getGood() 
    {
        return good;
    }
    public void setMiddle(Integer middle) 
    {
        this.middle = middle;
    }

    public Integer getMiddle() 
    {
        return middle;
    }
    public void setStandard(Integer standard) 
    {
        this.standard = standard;
    }

    public Integer getStandard() 
    {
        return standard;
    }
    public void setFail(Integer fail) 
    {
        this.fail = fail;
    }

    public Integer getFail() 
    {
        return fail;
    }
    public void setYear(Integer year) 
    {
        this.year = year;
    }

    public Integer getYear() 
    {
        return year;
    }
    public void setCollege(String college) 
    {
        this.college = college;
    }

    public String getCollege() 
    {
        return college;
    }
    public void setSpeciality(String speciality) 
    {
        this.speciality = speciality;
    }

    public String getSpeciality() 
    {
        return speciality;
    }
    public void setAclass(String aclass) 
    {
        this.aclass = aclass;
    }

    public String getAclass() 
    {
        return aclass;
    }
    public void setPasspercent(BigDecimal passpercent) 
    {
        this.passpercent = passpercent;
    }

    public BigDecimal getPasspercent() 
    {
        return passpercent;
    }
    public void setExcelentpercent(BigDecimal excelentpercent) 
    {
        this.excelentpercent = excelentpercent;
    }

    public BigDecimal getExcelentpercent() 
    {
        return excelentpercent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("name", getName())
            .append("parentId", getParentId())
            .append("ancestors", getAncestors())
            .append("leadUserId", getLeadUserId())
            .append("total", getTotal())
            .append("excelent", getExcelent())
            .append("good", getGood())
            .append("middle", getMiddle())
            .append("standard", getStandard())
            .append("fail", getFail())
            .append("year", getYear())
            .append("college", getCollege())
            .append("speciality", getSpeciality())
            .append("aclass", getAclass())
            .append("passpercent", getPasspercent())
            .append("excelentpercent", getExcelentpercent())
            .toString();
    }
}
